package com.example.springboot2022nocv.enums;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author 程序员小洋
 * @version 2022.3
 * @date 2022/12/31 21:58
 * @title
 */
@SuppressWarnings("all")
/**
 * 请假审批节点的枚举类型
 */
@AllArgsConstructor
@NoArgsConstructor
public enum ApprovalNodeStatusEnum {

    NO_SUBMIT(0,"未提交"),
    APPROVAL_TEACHER_ING(1,"老师正在审批中"),
    TEACHER_REJECTED(2,"老师已驳回"),
    APPROVAL_TEACHER_PASSED(3,"老师审批通过"),
    APPROVAL_COLLEGE_ING(4,"院系正在审批中"),
    COLLEGE_REJECTED(5,"院系已驳回"),
    APPROVAL_COLLEGE_PASSED(6,"院系审批通过");

    private Integer code;
    private String desc;

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
